%table
  %thead
    %tr
      %th.name Name
      %th.organization Organization
      %th.employment Employment
      %th.status Status
      %th.actions
  %tbody
    - @users.each do |user|
      %tr[user]
        %td.name= user.official_name
        %td.organization= user.organization.try(:name)
        %td.employment= user.employment.try(:name)
        %td.status= user.status.try(:name)
        %td.actions
          - if can? :modify, user
            = link_to 'edit', edit_user_url(user)
          - if can? :destroy, user
            = link_to 'delete', user_url(user), :method => :delete
